package com.sorhis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sorhis.dto.SysRoleDTO;
import com.sorhis.entity.SysRole;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xihao.ding
 * @since 2025-02-10
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    IPage<SysRoleDTO> findPageList(Page page , @Param("sysRoleDTO") SysRoleDTO sysRoleDTO);

    IPage<SysRoleDTO> findRoleAndTenantPageList(Page page , @Param("sysRoleDTO") SysRoleDTO sysRoleDTO);



}
